package org.zsqx.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import cDao.annotation.FieldTypeAnnotation;

/**
 * Zdz entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ZDZ", schema = "dbo", catalog = "BN4PS9Z220010012")
public class Zdz implements java.io.Serializable {

	// Fields
	@FieldTypeAnnotation(colum="Z_NUM",fieldType=Integer.class,isKey=true)
	private Integer ZNum;
	@FieldTypeAnnotation(colum="Z_ID",fieldType=String.class)
	private String ZId;
	@FieldTypeAnnotation(colum="Z_Cname",fieldType=String.class)
	private String ZCname;
	@FieldTypeAnnotation(colum="Z_Name",fieldType=String.class)
	private String ZName;
	@FieldTypeAnnotation(colum="Z_Lon",fieldType=Double.class)
	private Double ZLon;
	@FieldTypeAnnotation(colum="Z_Lat",fieldType=Double.class)
	private Double ZLat;
	@FieldTypeAnnotation(colum="Z_Height",fieldType=Double.class)
	private Double ZHeight;
	@FieldTypeAnnotation(colum="Z_Type",fieldType=String.class)
	private String ZType;
	@FieldTypeAnnotation(colum="Z_City",fieldType=Integer.class)
	private Integer ZCity;
	@FieldTypeAnnotation(colum="Z_Town",fieldType=String.class)
	private String ZTown;

	// Constructors

	/** default constructor */
	public Zdz() {
	}

	/** minimal constructor */
	public Zdz(Integer ZNum) {
		this.ZNum = ZNum;
	}

	/** full constructor */
	public Zdz(Integer ZNum, String ZId, String ZCname, String ZName,
			Double ZLon, Double ZLat, Double ZHeight, String ZType,
			Integer ZCity, String ZTown) {
		this.ZNum = ZNum;
		this.ZId = ZId;
		this.ZCname = ZCname;
		this.ZName = ZName;
		this.ZLon = ZLon;
		this.ZLat = ZLat;
		this.ZHeight = ZHeight;
		this.ZType = ZType;
		this.ZCity = ZCity;
		this.ZTown = ZTown;
	}

	// Property accessors
	@Id
	@Column(name = "Z_NUM", unique = true, nullable = false)
	public Integer getZNum() {
		return this.ZNum;
	}

	public void setZNum(Integer ZNum) {
		this.ZNum = ZNum;
	}

	@Column(name = "Z_ID", length = 10)
	public String getZId() {
		return this.ZId;
	}

	public void setZId(String ZId) {
		this.ZId = ZId;
	}

	@Column(name = "Z_CNAME", length = 50)
	public String getZCname() {
		return this.ZCname;
	}

	public void setZCname(String ZCname) {
		this.ZCname = ZCname;
	}

	@Column(name = "Z_NAME", length = 50)
	public String getZName() {
		return this.ZName;
	}

	public void setZName(String ZName) {
		this.ZName = ZName;
	}

	@Column(name = "Z_LON", precision = 16, scale = 6)
	public Double getZLon() {
		return this.ZLon;
	}

	public void setZLon(Double ZLon) {
		this.ZLon = ZLon;
	}

	@Column(name = "Z_LAT", precision = 16, scale = 6)
	public Double getZLat() {
		return this.ZLat;
	}

	public void setZLat(Double ZLat) {
		this.ZLat = ZLat;
	}

	@Column(name = "Z_HEIGHT", precision = 16, scale = 6)
	public Double getZHeight() {
		return this.ZHeight;
	}

	public void setZHeight(Double ZHeight) {
		this.ZHeight = ZHeight;
	}

	@Column(name = "Z_TYPE", length = 50)
	public String getZType() {
		return this.ZType;
	}

	public void setZType(String ZType) {
		this.ZType = ZType;
	}

	@Column(name = "Z_CITY")
	public Integer getZCity() {
		return this.ZCity;
	}

	public void setZCity(Integer ZCity) {
		this.ZCity = ZCity;
	}

	@Column(name = "Z_TOWN")
	public String getZTown() {
		return this.ZTown;
	}

	public void setZTown(String ZTown) {
		this.ZTown = ZTown;
	}

}